package com.tools.cleanmaster.bean;

import com.tools.cleanmaster.CleanApplication;

public enum AutoCleanFeature {
    AUTO_CACHE("auto_cache"),
    AUTO_MEMORY("auto_memory"),
    LOW_MEMORY("low_memory");

    public String key;

    AutoCleanFeature(String key) {
        this.key = key;
    }

    /**
     * 功能开关状态是否开启
     */
    public boolean isEnable() {
        return CleanApplication.getInstance().getAutoCleanManager().isFeatureEnable(this);
    }
}
